﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001245 RID: 4677
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartWolfBroGameScRsp : IMessage<StartWolfBroGameScRsp>, IMessage, IEquatable<StartWolfBroGameScRsp>, IDeepCloneable<StartWolfBroGameScRsp>, IBufferMessage
	{
		// Token: 0x17003B55 RID: 15189
		// (get) Token: 0x0600D1D8 RID: 53720 RVA: 0x00235765 File Offset: 0x00233965
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartWolfBroGameScRsp> Parser
		{
			get
			{
				return StartWolfBroGameScRsp._parser;
			}
		}

		// Token: 0x17003B56 RID: 15190
		// (get) Token: 0x0600D1D9 RID: 53721 RVA: 0x0023576C File Offset: 0x0023396C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartWolfBroGameScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B57 RID: 15191
		// (get) Token: 0x0600D1DA RID: 53722 RVA: 0x0023577E File Offset: 0x0023397E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartWolfBroGameScRsp.Descriptor;
			}
		}

		// Token: 0x0600D1DB RID: 53723 RVA: 0x00235785 File Offset: 0x00233985
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartWolfBroGameScRsp()
		{
		}

		// Token: 0x0600D1DC RID: 53724 RVA: 0x00235790 File Offset: 0x00233990
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartWolfBroGameScRsp(StartWolfBroGameScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.wolfBroInfo_ = ((other.wolfBroInfo_ != null) ? other.wolfBroInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D1DD RID: 53725 RVA: 0x002357DC File Offset: 0x002339DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartWolfBroGameScRsp Clone()
		{
			return new StartWolfBroGameScRsp(this);
		}

		// Token: 0x17003B58 RID: 15192
		// (get) Token: 0x0600D1DE RID: 53726 RVA: 0x002357E4 File Offset: 0x002339E4
		// (set) Token: 0x0600D1DF RID: 53727 RVA: 0x002357EC File Offset: 0x002339EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003B59 RID: 15193
		// (get) Token: 0x0600D1E0 RID: 53728 RVA: 0x002357F5 File Offset: 0x002339F5
		// (set) Token: 0x0600D1E1 RID: 53729 RVA: 0x002357FD File Offset: 0x002339FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public WolfBroInfo WolfBroInfo
		{
			get
			{
				return this.wolfBroInfo_;
			}
			set
			{
				this.wolfBroInfo_ = value;
			}
		}

		// Token: 0x0600D1E2 RID: 53730 RVA: 0x00235806 File Offset: 0x00233A06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartWolfBroGameScRsp);
		}

		// Token: 0x0600D1E3 RID: 53731 RVA: 0x00235814 File Offset: 0x00233A14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartWolfBroGameScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.WolfBroInfo, other.WolfBroInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D1E4 RID: 53732 RVA: 0x00235864 File Offset: 0x00233A64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.wolfBroInfo_ != null)
			{
				num ^= this.WolfBroInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D1E5 RID: 53733 RVA: 0x002358B9 File Offset: 0x00233AB9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D1E6 RID: 53734 RVA: 0x002358C1 File Offset: 0x00233AC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D1E7 RID: 53735 RVA: 0x002358CC File Offset: 0x00233ACC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.wolfBroInfo_ != null)
			{
				output.WriteRawTag(50);
				output.WriteMessage(this.WolfBroInfo);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D1E8 RID: 53736 RVA: 0x00235928 File Offset: 0x00233B28
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.wolfBroInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.WolfBroInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D1E9 RID: 53737 RVA: 0x00235980 File Offset: 0x00233B80
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartWolfBroGameScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.wolfBroInfo_ != null)
			{
				if (this.wolfBroInfo_ == null)
				{
					this.WolfBroInfo = new WolfBroInfo();
				}
				this.WolfBroInfo.MergeFrom(other.WolfBroInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D1EA RID: 53738 RVA: 0x002359E8 File Offset: 0x00233BE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D1EB RID: 53739 RVA: 0x002359F4 File Offset: 0x00233BF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 50U)
				{
					if (num != 72U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.wolfBroInfo_ == null)
					{
						this.WolfBroInfo = new WolfBroInfo();
					}
					input.ReadMessage(this.WolfBroInfo);
				}
			}
		}

		// Token: 0x0400541A RID: 21530
		private static readonly MessageParser<StartWolfBroGameScRsp> _parser = new MessageParser<StartWolfBroGameScRsp>(() => new StartWolfBroGameScRsp());

		// Token: 0x0400541B RID: 21531
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400541C RID: 21532
		public const int RetcodeFieldNumber = 9;

		// Token: 0x0400541D RID: 21533
		private uint retcode_;

		// Token: 0x0400541E RID: 21534
		public const int WolfBroInfoFieldNumber = 6;

		// Token: 0x0400541F RID: 21535
		private WolfBroInfo wolfBroInfo_;
	}
}
